package com.bjpowernode.vo;

/**
 * @ClassName Student
 * @Description 保存请求参数值得的pojo类
 * @Author hhwu
 * @Date 2022/3/11 9:18
 * Version 1.0
 **/


public class Student {
//    属性名和请求中的参数名一样
    private String name;
    private Integer age;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public Student() {
        System.out.println("无参构造");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
